<template>
<el-dropdown>
            <div style="cursor: pointer; color: #fff;">
              <i class="el-icon-setting" style="margin-right: 5px"></i>
<!--              <span >{{$store.state.userinfo.username}} {{username}}</span>-->
            </div>
            <el-dropdown-menu slot="dropdown">
              <el-dropdown-item @click.native="commond('personal')">个人信息</el-dropdown-item>
              <el-dropdown-item @click.native="commond('logout')">退出系统</el-dropdown-item>
            </el-dropdown-menu>
          </el-dropdown>
</template>

<script>
export default {
  name: "HeadMenu",
  data(){
    return {
      // username:this.$store.state.userinfo.username
    }
  }
}
</script>

<style scoped>

</style>
